package com.shinewind.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ApiModel(description = "UserAddress实体类")
public class UserAddress implements Serializable {
  @TableId(type = IdType.ASSIGN_UUID)
  @ApiModelProperty(value = "地址id")
  private String addressId;
  @ApiModelProperty(value = "用户id")
  private String uId;
  @ApiModelProperty(value = "用户名")
  private String name;
  @ApiModelProperty(value = "用户电话")
  private String telePhone;
  @ApiModelProperty(value = "用户地址")
  private String address;
  @ApiModelProperty(value = "是否是默认地址",notes = "1表示为默认地址,0为非默认地址")
  private Long isDefault;
}
